<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>一只小红薯：高端薯产品专卖开创品牌</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta content="telephone=yes" name="format-detection">
    <link rel="stylesheet" href="/xhs/bdfreed2/css/reset_1.css" />
    <script src="/xhs/bdfreed2/js/jquery_1.js" type="text/javascript" charset="utf-8"></script>

</head>
<body>

<div class="poster">
    <img src="/xhs/bdfreed2/picture/l1.jpg" alt="" align="middle" />
    <img src="/xhs/bdfreed2/picture/l2.jpg" alt="" align="middle" />
    <img src="/xhs/bdfreed2/picture/l3.jpg" alt="" align="middle" />
    <img src="/xhs/bdfreed2/picture/l4.jpg" alt="" align="middle" />
    <!--留言板-->

    <div class="m-msgv1-board">
        <div class="m-msgv1-liuyan">
            <h3>我对此项目感兴趣，马上留言</h3>
            <div class="m-msgv1-con">

                <div  class="guestbook_form3" name="guestbook_form3" method="post" onSubmit="return bdydshouji3()">
                    <input type="hidden" name="action" value="post" />
                    <input type="hidden" name="diyid" value="6" />
                    <input type="hidden" name="do" value="2" />
                    <div class="input-out">
                        <span>姓　名：</span>
                        <div class="input">
                            <input  class="bdfeedname" name="nickname_1"  value="" placeholder="请输入您的姓名" autocomplete="off" type="text"/></div>
                    </div>
                    <div class="input-out">
                        <span><i>*</i>手　机：</span>
                        <div class="input">
                            <input class="bdfeeddhhm" name="mobile_1" value="" placeholder="请输入您的手机号码" autocomplete="off" type="tel"/></div>
                    </div>
                    <div class="input-out textarea-out">
                        <span>留　言：</span>
                        <div class="input">
                            <textarea class="contents" name="bdfeedyixiang"  value="" autocomplete="off" placeholder="这个项目不错，请尽快联系我详谈"></textarea>
                            <select class="selId">
                                <option>这个项目不错，请尽快联系我详谈</option>
                                <option>我想加盟，请来电告知加盟细节</option>
                                <option>请问具体加盟流程是怎么样的?</option>
                                <option>我所在的地方已有加盟商了吗?</option>
                                <option>合作后，您还会提供哪些服务?</option>
                                <option>手动填写</option>
                            </select>
                            <input  type="hidden" name="bdfeedtime" class="bdfeedtime"   value="" />

                            <input type="hidden" name="dede_fields"    value="bdfeedname,text;bdfeeddhhm,text;bdfeedyixiang,multitext;bdfeedtime,text" />
                            <input type="hidden" name="dede_fieldshash" value="9b84b5c2e16dfadc825824d0ae274997" />
                        </div>
                    </div>
                    <!--当输入条件满足，class="btn gray" 去掉gray 改为 class="btn"，按钮变色-->
                    <input name="submit" class="btn gray" type="submit" onClick="sub('nickname_1', 'mobile_1')" value="提交留言"/>
                </div>
                <p class="tishi">招商经理将在24小时内联系您，绝不外泄您的信息！</p>
            </div>
        </div>

        <!--错误提示<div class="m-msgv1-error">请输入您正确的手机号码</div> -->

    </div>

    <!--/留言板-->
    <video width="98%" x-webkit-airplay="allow" webkit-playsinline="true"  x5-video-player-type="h5" x5-video-player-fullscreen="true" playsinline="true" controls autoplay style="margin: 0 auto;display: block;margin-bottom: 8px;object-fit: fill;" preload="none" poster="/xhs/bdfreed2//picture/ship.png" playsinline="true">
        <source src="/xhs/bdfreed2/picture/yzxhs.mp4" type="video/mp4">
    </video>
    <img src="/xhs/bdfreed2/picture/l5.jpg" alt="" align="middle" />
    <img src="/xhs/bdfreed2/picture/l6.jpg" alt="" align="middle" />
    <img src="/xhs/bdfreed2/picture/l7.jpg" alt="" align="middle" />
    <img src="/xhs/bdfreed2/picture/l8.jpg" alt="" align="middle" />
    <img src="/xhs/bdfreed2/picture/l9.jpg" alt="" align="middle" />
    <img src="/xhs/bdfreed2/picture/l10.jpg" alt="" align="middle" />
</div>

<!--留言板-->

<div class="m-msgv1-board">
    <div class="m-msgv1-liuyan">
        <h3>我对此项目感兴趣，马上留言</h3>
        <div class="m-msgv1-con">

            <div  class="guestbook_form" name="guestbook_form" method="post" onSubmit="return bdydshouji()">
                <input type="hidden" name="action" value="post" />
                <input type="hidden" name="diyid" value="6" />
                <input type="hidden" name="do" value="2" />
                <div class="input-out">
                    <span>姓　名：</span>
                    <div class="input">
                        <input  class="bdfeedname" name="nickname_2"  value="" placeholder="请输入您的姓名" autocomplete="off" type="text"/></div>
                </div>
                <div class="input-out">
                    <span><i>*</i>手　机：</span>
                    <div class="input">
                        <input class="bdfeeddhhm" name="mobile_2" value="" placeholder="请输入您的手机号码" autocomplete="off" type="tel"/></div>
                </div>
                <div class="input-out textarea-out">
                    <span>留　言：</span>
                    <div class="input">
                        <textarea class="contents" name="bdfeedyixiang"  value="" autocomplete="off" placeholder="这个项目不错，请尽快联系我详谈"></textarea>
                        <select class="selId">
                            <option>这个项目不错，请尽快联系我详谈</option>
                            <option>我想加盟，请来电告知加盟细节</option>
                            <option>请问具体加盟流程是怎么样的?</option>
                            <option>我所在的地方已有加盟商了吗?</option>
                            <option>合作后，您还会提供哪些服务?</option>
                            <option>手动填写</option>
                        </select>
                        <input  type="hidden" name="bdfeedtime"  class="bdfeedtime"  value="" />

                        <input type="hidden" name="dede_fields"    value="bdfeedname,text;bdfeeddhhm,text;bdfeedyixiang,multitext;bdfeedtime,text" />
                        <input type="hidden" name="dede_fieldshash" value="9b84b5c2e16dfadc825824d0ae274997" />
                    </div>
                </div>
                <!--当输入条件满足，class="btn gray" 去掉gray 改为 class="btn"，按钮变色-->
                <input  class="btn gray" type="submit" onClick="sub('nickname_2', 'mobile_2')" value="提交留言"/>
            </div>
            <p class="tishi">招商经理将在24小时内联系您，绝不外泄您的信息！</p>
        </div>
    </div>
    <div class="m-msgv1-call"  id="m-msgv1-call" >
        <h3>与招商经理免费通话，抓住商机</h3>
        <div class="m-msgv1-con">

            <div  class="guestbook_form" name="guestbook_form2" method="post" onSubmit="return bdydshouji2()">
                <input type="hidden" name="action" value="post" />
                <input type="hidden" name="diyid" value="6" />
                <input type="hidden" name="do" value="2" />

                <input type="tel" class="web_freecall_phone_input2"  name="mobile_3" placeholder="请输入您的手机号码"  autocomplete="off"/>

                <input  type="hidden" name="bdfeedtime" class="bdfeedtime"   value="" />

                <input type="hidden" name="dede_fields"    value="bdfeedname,text;bdfeeddhhm,text;bdfeedyixiang,multitext;bdfeedtime,text" />
                <input type="hidden" name="dede_fieldshash" value="9b84b5c2e16dfadc825824d0ae274997" />

                <input class="btn gray"  type="submit" name="submit" value="免费通话"  onClick="sub('', 'mobile_3')"/>

                <p class="txt" id="web_freecall_prompt_box"><span>已有</span><b>38195</b><span>人拨打免费电话</span></p>
            </div>

        </div>
    </div>
    <!--错误提示<div class="m-msgv1-error">请输入您正确的手机号码</div> -->

</div>

<!--/留言板-->

<!--底部浮动栏-->
<!--没有免费通话时，<ul>加class名为<ul class="no-freecall">，并去掉免费通话的<li>标签-->
<div class="m-msgv1-btmf">
    <ul >
        <li class="ly-v1">
            <a href="#m-msgv1-call">
                <i></i>
                <span>立即留言</span>
            </a>
        </li>
        <li class="zx-v1" id="web3jia5_my_button">
            <a href="https://ala.zoosnet.net/LR/Chatpre.aspx?id=ALA86018302&lng=cn">
                <i></i>
                <span>在线咨询</span>
            </a>
        </li>
        <li class="th-v1">
            <a href="#m-msgv1-call" onClick="mianfei()">
                <i></i>
                <span>免费通话</span>
            </a>
        </li>
    </ul>
</div>


<!--		<script src="js/guestbook_1.js" type="text/javascript" charset="utf-8"></script>-->
<script language="javascript" src="/xhs/bdfreed2/js/lsjs.js"></script>
<script type="text/javascript">
    //	底部浮动栏显示隐藏
    $(window).scroll(function(){
        var _msgheightTop = $('.m-msgv1-board').position().top - $(window).height()/2;
        var _msgheight = $('.m-msgv1-board').position().top + $('.m-msgv1-board').height();
        if($(window).scrollTop()>_msgheightTop && $(window).scrollTop()<_msgheight){
            $('.m-msgv1-btmf').hide();
        }
        else{
            $('.m-msgv1-btmf').show();
        }
    })
    function closesjt(){
        WebIMUtil.crossDomain.send(parent, 'close, ,true');
    }

</script>
<script>
    $(".selId").change(function(){
        var t=$(this);
        if(t.val()=="手动填写"){
            t.hide();
            $(".contents").focus();
            $(".contents").html("");
        }else{
            $(".contents").html($(".selId").val());
        }
    });
    $(".bdfeedname").focus(
            function(){
                $(".bdfeedname").val("");
            }
    )
    $(".bdfeeddhhm").focus(
            function(){
                $(".bdfeeddhhm").val("");
            }
    )
    $(".web_freecall_phone_input2").focus(
            function(){
                $(".web_freecall_phone_input2").val("");
            }
    )

    function mianfei(){
        $(".web_freecall_phone_input2").val("请填入您的手机号码！").css("color","red");
    }
</script>

{literal}

<script>
    /*手机号码验证*/
    function bdydshouji(){
        var xyz=document.forms["guestbook_form"]["bdfeeddhhm"].value;
        if(xyz.length==0)
        {

            $(".bdfeeddhhm").val("请输入手机号码！").css("color","red");

            return false;
        }
        if(xyz.length!=11)
        {

            $(".bdfeeddhhm").val("请输入您正确的联系方式！").css("color","red");

            return false;
        }
        var myreg = /(^0?[1][\d]{10}$)|(^0[1-9][\d]{1,2}[- ]?[\d]{7,8}[-| ]?[\d]*$)/;
        if(!myreg.test(xyz))
        {

            $(".bdfeeddhhm").val("请输入正确的手机号码格式！").css("color","red");

            return false;
        }
    }
</script>
<script>
    /*手机号码验证2*/
    function bdydshouji2(){
        var xyz=document.forms["guestbook_form2"]["bdfeeddhhm"].value;
        if(xyz.length==0)
        {

            $(".web_freecall_phone_input2").val("请输入手机号码！").css("color","red");

            return false;
        }
        if(xyz.length!=11)
        {

            $(".web_freecall_phone_input2").val("请输入您正确的联系方式！").css("color","red");

            return false;
        }
        var myreg = /(^0?[1][\d]{10}$)|(^0[1-9][\d]{1,2}[- ]?[\d]{7,8}[-| ]?[\d]*$)/;
        if(!myreg.test(xyz))
        {

            $(".web_freecall_phone_input2").val("请输入正确的手机号码格式！").css("color","red");

            return false;
        }
    }
</script>
<script>
    /*手机号码验证*/
    function bdydshouji3(){
        var xyz=document.forms["guestbook_form3"]["bdfeeddhhm"].value;
        if(xyz.length==0)
        {

            $(".bdfeeddhhm").val("请输入手机号码！").css("color","red");

            return false;
        }
        if(xyz.length!=11)
        {

            $(".bdfeeddhhm").val("请输入您正确的联系方式！").css("color","red");

            return false;
        }
        var myreg = /(^0?[1][\d]{10}$)|(^0[1-9][\d]{1,2}[- ]?[\d]{7,8}[-| ]?[\d]*$)/;
        if(!myreg.test(xyz))
        {

            $(".bdfeeddhhm").val("请输入正确的手机号码格式！").css("color","red");

            return false;
        }
    }
</script>

{/literal}

<script>
    function time(){
        var nowDate = new Date();
        var str = nowDate.getFullYear()+"-"+(nowDate.getMonth() + 1)+"-"+nowDate.getDate()+" "+nowDate.getHours()+":"+nowDate.getMinutes()+":"+nowDate.getSeconds()+"new";
        $(".bdfeedtime").val(str);

    }

    function sub(nickname, mobile_name){
        var $userEl=$('input[name="'+nickname+'"]'),nickname=$userEl.val();
        var $mobileE1=$('input[name="'+mobile_name+'"]'),mobile=$mobileE1.val();
        var intentionE1 = $("select[name='intention_2']");
        var intention = intentionE1.val();
        var msg = $(".contents").html();
//            var domain = document.URL;
        var tg_url = document.URL;


        //手机号码验证
        if(mobile.length == 0  ){
            $('input[name="'+mobile_name+'"]').val("请输入手机号码！").css("color","red");
            return false;
        }
        if(mobile.length!=11)
        {
            $('input[name="'+mobile_name+'"]').val("请输入有效的手机号码！").css("color","red");
            return false;
        }
        if(!(/^1[123456789]\d\d\d\d\d\d\d\d\d$/.test(mobile))){
            $('input[name="'+mobile_name+'"]').val("请输入正确的手机号码格式！").css("color","red");
            return false;
        }

//            alert(nickname);
        $.ajax({
            type: 'get',
            url: 'http://xhs.xhs1985.com/public/userOrderDeal',
            dataType: "jsonp",
            jsonp: "callback",
            jsonpCallback:"flightHandler",
            async: false,
            data:{
                nickname:nickname,
                mobile:mobile,
                intention:intention,
                msg:msg,
//                    province:pro,
//                    city:city，
                domain:tg_url
            },
            success:function (result) {
//                    alert("success");
                if(result.status == 200){
                    alert(result.data);
                }else {
                    alert(result.error);
                }

            },
            error:function (result) {
                layer.msg('服务器异常，请稍候再试！');
            }
        })
    }


</script>

<script type="text/javascript"  src="/xhs/bdfreed2/js/su.js"></script>
</body>
</html>
